from DrissionPage import ChromiumPage

page = ChromiumPage()
"""
<body>
  <div id="one">
    <p class="p_cls" name="row1">第一行</p>
    <p class="p_cls" name="row2">第二行</p>
    <p class="p_cls">第三行</p>
  </div>
  <div id="two">
    第二个div
  </div>
</body>
"""
page = ChromiumPage()
page.get("https://static.docs-hub.com/ysczdjbyf_1750214922342.html")
div1 = page.ele("#one")
p1 = div1.ele("tag:p")
p2 = p1.next()
p3 = p2.next()
p3_text = p3.text
print(p3_text)
p22 = p3.prev()
print(div1.child())
print(div1.children())
print(p3.parent())
